package Day15;

/**
 * @Author kalista
 * @Description
 * @Date 2020/11/23  15:41
 **/
public class Test {
    public static void main(String[] args) {

        Account account = new Account(10000.0,"王聪");

        MyTheard1 myTheard1 = new MyTheard1(account);
        MyTheard1 myTheard2 = new MyTheard1(account);

        myTheard1.setName("t1");
        myTheard2.setName("t2");

        myTheard1.start();
        myTheard2.start();







    }
}
